package com.guigu.servicebusiness.config;

import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OSSConfig {
    @Bean
    public OSS ossClient(){
        return new OSSClientBuilder().build("http://oss-cn-shenzhen.aliyuncs.com","LTAI4FzfhqXVRN7SYd4SrP36","KhDKvtHGpPgpfgLPkUxLG6dp3cz0jh");
    }
}
